export default {
    userSubscribe: {
        subscribe: (root, args, ctx) => {
            return ctx.prisma.$subscribe.user({
                mutation_in: ["UPDATED", "DELETED", "CREATED"]
            }).node();
        },
        resolve: payload => {
            return payload;
        }
    }
}